<template>
  <div>
      <div class="box">
          <van-grid :column-num="3">
            <van-grid-item v-for="(item,index) in xlistx" :key="index" :icon="item.icon" :text="item.name" :style="{color:item.color}"/>
          </van-grid>
      </div>
  </div>
</template>

<script>
export default {
    mounted(){
        this.$REM.Rem()
    },
    props: {
        listx:Array
    },
    data() {
        return {
            xlistx:this.listx
        }
    },
}
</script>

<style scoped>

</style>